Type Definitions

The following type definitions are available globally.

  • A callback block to execute synchronous or asynchronous JavaScript on a node process thread.

    Declaration

    Objective-C

    typedef void (^ProcessThreadBlock)(JSContext *)

    Swift

    typealias ProcessThreadBlock = (JSContext?) -> Void